+Sun Sep 30 07:01:42 2001 CEST <mikeh@bahnhof.se>
+
+ * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int
+ and changed from g_value_get_enum to g_value_get_int instead.
+ Probadly a better way to fix the problem :-)
+
Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson <tyan@linux.se>
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
-2001-09-29 Alexander Larsson <alla@lysator.liu.se>
-
- * configure.in:
- Added build/win32/dirent/Makefile
-
Sat Sep 29 12:25:26 2001 Manish Singh <yosh@gimp.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo
+Sun Sep 30 07:01:42 2001 CEST <mikeh@bahnhof.se>
+
+ * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int
+ and changed from g_value_get_enum to g_value_get_int instead.
+ Probadly a better way to fix the problem :-)
+
Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson <tyan@linux.se>
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
-2001-09-29 Alexander Larsson <alla@lysator.liu.se>
-
- * configure.in:
- Added build/win32/dirent/Makefile
-
Sat Sep 29 12:25:26 2001 Manish Singh <yosh@gimp.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo
+Sun Sep 30 07:01:42 2001 CEST <mikeh@bahnhof.se>
+
+ * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int
+ and changed from g_value_get_enum to g_value_get_int instead.
+ Probadly a better way to fix the problem :-)
+
Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson <tyan@linux.se>
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
-2001-09-29 Alexander Larsson <alla@lysator.liu.se>
-
- * configure.in:
- Added build/win32/dirent/Makefile
-
Sat Sep 29 12:25:26 2001 Manish Singh <yosh@gimp.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo
+Sun Sep 30 07:01:42 2001 CEST <mikeh@bahnhof.se>
+
+ * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int
+ and changed from g_value_get_enum to g_value_get_int instead.
+ Probadly a better way to fix the problem :-)
+
Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson <tyan@linux.se>
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
-2001-09-29 Alexander Larsson <alla@lysator.liu.se>
-
- * configure.in:
- Added build/win32/dirent/Makefile
-
Sat Sep 29 12:25:26 2001 Manish Singh <yosh@gimp.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo
+Sun Sep 30 07:01:42 2001 CEST <mikeh@bahnhof.se>
+
+ * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int
+ and changed from g_value_get_enum to g_value_get_int instead.
+ Probadly a better way to fix the problem :-)
+
Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson <tyan@linux.se>
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
-2001-09-29 Alexander Larsson <alla@lysator.liu.se>
-
- * configure.in:
- Added build/win32/dirent/Makefile
-
Sat Sep 29 12:25:26 2001 Manish Singh <yosh@gimp.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo
+Sun Sep 30 07:01:42 2001 CEST <mikeh@bahnhof.se>
+
+ * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int
+ and changed from g_value_get_enum to g_value_get_int instead.
+ Probadly a better way to fix the problem :-)
+
Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson <tyan@linux.se>
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
-2001-09-29 Alexander Larsson <alla@lysator.liu.se>
-
- * configure.in:
- Added build/win32/dirent/Makefile
-
Sat Sep 29 12:25:26 2001 Manish Singh <yosh@gimp.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo
+Sun Sep 30 07:01:42 2001 CEST <mikeh@bahnhof.se>
+
+ * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int
+ and changed from g_value_get_enum to g_value_get_int instead.
+ Probadly a better way to fix the problem :-)
+
Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson <tyan@linux.se>
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
-2001-09-29 Alexander Larsson <alla@lysator.liu.se>
-
- * configure.in:
- Added build/win32/dirent/Makefile
-
Sat Sep 29 12:25:26 2001 Manish Singh <yosh@gimp.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo
g_object_class_install_property (object_class,
PROP_WEIGHT,
- g_param_spec_enum ("weight",
+ g_param_spec_int ("weight",
_("Font weight"),
_("Font weight"),
- PANGO_TYPE_WEIGHT,
+ 0,
+ G_MAXINT,
PANGO_WEIGHT_NORMAL,
G_PARAM_READABLE | G_PARAM_WRITABLE));
-
- g_object_class_install_property (object_class,
+ g_object_class_install_property (object_class,
PROP_STRETCH,
g_param_spec_enum ("stretch",
_("Font stretch"),
break;
case PROP_WEIGHT:
pango_font_description_set_weight (celltext->font,
- g_value_get_enum (value));
+ g_value_get_int (value));
break;
case PROP_STRETCH:
pango_font_description_set_stretch (celltext->font,